home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
guardian_angel.swf
/
scripts
/
DefineSprite_172
/
frame_1
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
844b
|
32 lines
if(_Y - "42" < eval("../:laufy") and eval("../:laufy") < _Y + "96")
{
if(eval("../:laufx") < _X + "102" and _X < eval("../:laufx"))
{
set("../:xcontact","1");
set("../:aufprall","2");
}
if(_X >= eval("../:laufx") and _X - "102" < eval("../:laufx"))
{
set("../:xcontact","2");
set("../:aufprall","2");
}
}
if(_X - "92" < eval("../:laufx") and eval("../:laufx") < _X + "92")
{
if(_Y - "86" < eval("../:laufy") and _Y + "45" >= eval("../:laufy"))
{
set("../:stepy",- "2");
set("../:fallen","0");
if(eval("../:protect") < "0")
{
set("../:death","1");
}
set("../:aufprall","1");
}
if(_Y + "15" < eval("../:laufy") and eval("../:laufy") < _Y + "110")
{
set("../:fallen","1");
set("../:stepy","2");
}
}